%include 'functions.asm'

section .data
msg1 db 'Hello, brave new world!',0Ah ,0h           ;在字符串结尾加上NULL
msg2 db 'This is how we recycle in NASM.',0Ah ,0h   ;在字符串结尾加上NULL

section .text
global  _start

_start:
    mov     eax,msg1
    call    sprint

    mov     eax,msg2
    call    sprint

    ;调用退出函数
    call    quit